package com.fjut.wx.controller;


import com.fjut.result.Result;
import com.fjut.service.WxPayService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "微信支付接口")
@RestController
@RequestMapping("/fjut/order/wxPay")
public class WxPayController {

    @Autowired
    private WxPayService wxPayService;

    @ApiOperation("下单，默认成功")
    @GetMapping("createJsApi/{orderNo}")
    public Result createJsApi(@PathVariable Long orderNo){
        return Result.success(true);
    }
}
